Skip to content

ci: pin Iris-Codec AVIF to brew libavif to dodge gitiles 503 flake#19

Merged
cornish merged 1 commit into
mainfrom
fix/ci-iris-codec-avif-gitiles
Jun 28, 2026
Merged

ci: pin Iris-Codec AVIF to brew libavif to dodge gitiles 503 flake#19
cornish merged 1 commit into
mainfrom
fix/ci-iris-codec-avif-gitiles

Conversation

@cornish

@cornish cornish commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The IFE conformance gate installs Iris-Codec from source (its pyproject hardcodes IRIS_BUILD_DEPENDENCIES=ON). Its AVIF dep ExternalProject-clones libavif and FetchContent-pulls libaom from aomedia.googlesource.com, whose gitiles +archive tarball endpoint intermittently returns HTTP 503, reddening the whole macOS job before the validator runs (hit on two consecutive main runs).
  • cmake/avif.cmake only triggers that ExternalProject when AVIF_LIBRARY or AVIF_INCLUDE is unset. This points both at the brew libavif already installed by the cgo-deps step, so the clone/fetch is skipped. All other Iris-Codec deps still build vendored.

Test Plan

  • macOS CI job is green — specifically the Install Iris-Codec (IFE validator) + IFE conformance steps pass with no aomedia.googlesource.com fetch.
  • Verified locally that the override suppresses the gitiles libaom fetch (build proceeds past AVIF with no aomedia/libavif.git network access).

🤖 Generated with Claude Code

The IFE conformance gate installs Iris-Codec from source (its pyproject
hardcodes IRIS_BUILD_DEPENDENCIES=ON). Its AVIF dependency ExternalProject-
clones libavif and FetchContent-pulls libaom from aomedia.googlesource.com,
whose gitiles "+archive" tarball endpoint intermittently returns HTTP 503
under load, reddening the whole macOS job before the validator runs (hit on
two consecutive main runs).

cmake/avif.cmake only triggers that ExternalProject when AVIF_LIBRARY or
AVIF_INCLUDE is unset. Point both at the brew libavif already installed by
the cgo-deps step so the clone/fetch is skipped; all other Iris-Codec deps
still build vendored. Verified locally that the override suppresses the
gitiles libaom fetch (build proceeds past AVIF with no aomedia/libavif.git
network access).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cornish cornish merged commit 041b858 into main Jun 28, 2026
2 checks passed
@cornish cornish deleted the fix/ci-iris-codec-avif-gitiles branch June 28, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant